package com.cdgeekcamp.redas.wechat.entity;

import com.cdgeekcamp.redas.wechat.service.MsgHandlerService;

/**
 * 不明消息
 */
public class UnknownMessageEntity extends MessageBaseEntity {
    public UnknownMessageEntity() {
    }

    public UnknownMessageEntity(String fromUserName, String toUserName, Long createTime, String msgType) {
        super(fromUserName, toUserName, createTime, msgType);
    }

    @Override
    public String doReply() {
        return new MsgHandlerService().unknownHandler(this);
    }
}
